package com.example.management.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Inventory {
    private String itemName;
    private String itemType;
    private String itemUnit;
    private int inboundQuantity;
    private double itemPrice;
    private String inboundBatch;
    @JsonFormat(pattern = "MM/dd/yyyy HH:mm:ss", timezone = "Asia/Shanghai")
    private Timestamp inboundTime;
    private int currentQuantity;
}


